package org.springblade.common.utils;

import lombok.extern.slf4j.Slf4j;
import org.springframework.util.StringUtils;

import javax.servlet.http.HttpServletRequest;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;

public class LndxUtils {


    //当前日期
        public static String getNowDateForyyyyMMdd(){
            SimpleDateFormat sdf  = new SimpleDateFormat("yyyyMMdd");
            String format = sdf.format(new Date());
            return format;
        }

    public static String getNowDateForyyyy_MM_dd(){
        SimpleDateFormat sdf  = new SimpleDateFormat("yyyy-MM-dd");
        String format = sdf.format(new Date());
        return format;
    }


}
